#ifndef _TEST_UNITTEST_H_
#define _TEST_UNITTEST_H_

#include <string>
#include <cassert>

namespace tests {

struct UnitTest {
	UnitTest(std::wstring name);
	virtual ~UnitTest();

	// Run test through this function -- calls tests()
	void run();

	// Override this function to run the tests
	virtual void tests() = 0;

	std::wstring testname;
};

}

#endif
